﻿@model RolesEntity
<form class="layui-form" asp-controller="Administrator" asp-action="RoleEdit" method="post">
	<div class="layui-form-item">
		<label class="layui-form-label"><span class="c-red">*</span>角色名</label>
		<div class="layui-input-block">
			<input type="text" lay-verify="required" lay-verType="tips" class="layui-input" asp-for="RoleName">
			<span asp-validation-for="RoleName" style="color:red;"></span>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">角色描述</label>
		<div class="layui-input-block">
			<textarea class="layui-textarea" asp-for="Description" value=""></textarea>
			<span asp-validation-for="Description" style="color:red;"></span>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-input-block">
			<button type="submit" class="layui-btn layuiadmin-btn-list" lay-submit lay-filter="">提交并设置权限</button>
			<button type="button" class="layui-btn layuiadmin-btn-list" onclick="layer_close()">取消</button>
			<input type="hidden" asp-for="RoleID" />
			<span style="color:red; font-size:18px;">@Html.ValidationSummary(true)</span>
		</div>
	</div>
</form>

